// 统计图
import request from "@/utils/request";

export function addYearReport(data) {
  return request({
    url: '/archive/yearReport',
    method: 'post',
    data: data
  })
}


export function getDetail(year,type) {
  return request({
    url: '/archive/yearReport/' + year+'/'+type,
    method: 'get'
  })
}

export function getStatistics(year) {
  return request({
    url: '/archive/yearReport/statistics/' + year,
    method: 'get'
  })
}
  export function getArchivesStatistics(year) {
    return request({
      url: '/archive/yearReport/archivesStatistics/' + year,
      method: 'get'
    })


  }
